<?php
/*
* Template Name: Contact Us
*/
?>

<?php $dir = get_bloginfo('stylesheet_directory'); ?>

<?php get_header(); ?> 

        <div id="top_nav">
        	<?php wp_nav_menu(); ?>
        </div>
        
        <div class="clear"></div>
        
        <div id="content_wrapper">

        <div id="slideshow_container">
        	<p id="slideshow">
            	<img src="<?php echo($dir); ?>/images/slideshow/14.jpg"/>
                <img src="<?php echo($dir); ?>/images/slideshow/15.jpg"/>
            </p>
        </div>


<div id="body_content">
                <div class="sidebar">
                    <p id="sidebar_headline">We are located right in Hull's Nantasket Beach!</p>
                    <div id="social_wrapper">
                        <div id="facebook">
                        	<div id="tweet">
                        	<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out Bridgeman's Restaurant in Hull, MA!" data-hashtags="bridgemansrestaurant">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
							</div>
                            <div id="like" class="fb-like" data-href="http://www.facebook.com/pages/Bridgemans-Restaurant/137124392996252" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" data-font="trebuchet ms">
                            </div>
                            <div id="google_plus">
								<g:plusone size="medium" annotation="none"></g:plusone>

								<script type="text/javascript">
                                  (function() {
                                    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                                    po.src = 'https://apis.google.com/js/plusone.js';
                                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                                  })();
                                </script>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                     <div id="sidebar_hours_wrapper">
                        <div id="sidebar_hours">
                            <h3>Hours:</h3>
                            <div id="sidebar_days">
                                <p>Monday</p>
                                <p>Tuesday</p>
                                <p>Wednesday</p>
                                <p>Thursday</p>
                                <p>Friday</p>
                                <p>Saturday</p>
                                <p>Sunday</p>
                            </div>
                            <div id="sidebar_times">
                                <p>4:30 - 9:00</p>
                                <p>4:30 - 9:00</p>
                                <p>4:30 - 9:00</p>
                                <p>4:30 - 9:00</p>
                                <p>11:30 - 10:00</p>
                                <p>12:00 - 10:00</p>
                                <p>12:00 - 8:00 </p>
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="open_table_wrapper">
                    	<div class="open_table">
                            <img src="<?php echo($dir); ?>/images/opentable-logo.jpg" alt="Open Table icon" title="Click here to make a reservation with OpenTable!" />
                            <p><a id="click_here" href="http://www.opentable.com/single.aspx?rid=53038&restref=53038" target="_blank">Make a reservation<br/><br/></a></p>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
                <div id="page_wrapper">
                	<div id="contact">
                    	<h1>Contact</h1>
                        <div id="functions">
                        	<p>If you would like to let us know about your experience at Bridgeman's, or have any questions regarding functions or general restaurant inquiries, please fill out the form or contact us through the information below.</p>
                        </div>
                        
                        <div id="contact_form_seven">
							<?php if( have_posts() ): while( have_posts() ): the_post(); ?>
    
                            <div id="form">
                            
                                <?php the_content(); ?>
                           
                            </div>
        
                            <?php endwhile; else:?>
                            	Sorry No Content... 
                            <?php endif; ?>
                   		</div>
                        
                        <div id="contact_info">
                            <div>
                                <h3>Our Location</h3>
                                <p>145 Nantasket Avenue | Hull, MA 02045</p>
                            </div>
                            <div>
                                <h3>Telephone & Fax</h3>
                                <p>Telephone: 781.925.6336 | Fax: 781.925.5592</p>
                            </div>
                            <div>   
                                <h3>Email Us</h3>
                                <p>contact@bridgemansrestaurant.com</p>
                            </div>
                            <div id="wheelchair">
                                <div id="wheelchair_content">
                                    <p><i>Bridgeman's is wheelchair accesible.</i></p>
                                    <p><i>We accept Visa, Mastercard and American Express.</i></p>
                                </div>
                        	</div>
                    	</div>
                        
                        
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        
    <?php get_footer(); ?>